#parse("admin/inc/contentleft.html")
<div id="center-column">
	<div class="top-bar">
		<a href="new" class="button">增加 频道 </a>
		<h1>
			Contents
		</h1>
		<div class="breadcrumbs">
			<a href="#">Homepage</a> /
			<a href="#">Contents</a>
		</div>
	</div>
	<br />
	<div class="select-bar">

	</div>
	<div class="table">
		<img src="../../img/bg-th-left.gif" width="8" height="7" alt=""
			class="left" />
		<img src="../../img/bg-th-right.gif" width="7" height="7" alt=""
			class="right" />
		<table class="listing form" cellpadding="0" cellspacing="0">
			<form name="addchannel" id="addchannel" method="post"
				action="../save">
				<input type="hidden" name="channelId" value="${entity.channelId}" />
				<tr>
					<th class="full" colspan="2">
						增加项
					</th>
				</tr>
				<tr>
					<td class="first" width="172">
						<strong>频道标题</strong>
					</td>
					<td class="last">
						<INPUT type="text" class=text name=channelTitle
							value="${entity.channelTitle}">
					</td>
				</tr>
				<tr class="bg">
					<td class="first">
						<strong>英文名称</strong>
					</td>
					<td class="last">
						<input type="text" class="text" name=channelEnName
							value="${entity.channelEnName}" />
					</td>
				</tr>

				<tr>
					<td class="first"">
						<strong>SEO关键字</strong>
					</td>
					<td class="last">
						<input type="text" class="text" name=channelSEOKeyWord
							value="${entity.channelSEOKeyWord}" />
					</td>
				</tr>



				<tr>
					<td class="first"">
						<strong>发布状态</strong>
					</td>
					<td class="last">
						#if($!{entity.channelStatus}==0) #set ($ifselect1 ="selected")
						#else #set ($ifselect2 ="selected") #end

						<select style="width: 65%" name="channelStatus"
							value="${entity.channelStatus}">

							<option value='0' $!{ifselect1}>
								暂不发布
							</option>
							 
							<option value='1' $!{ifselect2} >
								发布
							</option>



						</select>
					</td>
				</tr>
				<tr>
					<td class="first"">
						<strong>排序位置</strong>
					</td>
					<td class="last">
					
					#if($!{entity.channelSort}==1) 
					#set ($ifselect1 ="selected")
					#elseif($!{entity.channelSort}==2) 
					#set ($ifselect2 ="selected") 
					#elseif($!{entity.channelSort}==3) 
					#set ($ifselect3 ="selected") 
					#elseif($!{entity.channelSort}==4) 
					#set ($ifselect4 ="selected") 
					#elseif($!{entity.channelSort}==5) 
					#set ($ifselect5 ="selected") 
					#elseif($!{entity.channelSort}==6) 
					#set ($ifselect6 ="selected") 
					#elseif($!{entity.channelSort}==7) 
					#set ($ifselect7 ="selected") 
					#else   
					#set ($ifselect8 ="selected") 
					#end
						
						
						<select style="width: 65%" name="channelSort"
							value="${entity.channelSort}">
							<option value='1' $!{ifselect1}>
								1
							</option>
							<option value='2' $!{ifselect2}>
								2
							</option>
							<option value='3' $!{ifselect3}>
								3
							</option>
							<option value='4' $!{ifselect4}>
								4
							</option>
							<option value='5' $!{ifselect5}>
								5
							</option>
							<option value='6' $!{ifselect6}>
								6
							</option>
							<option value='7' $!{ifselect7}>
								7
							</option>
							<option value='8' $!{ifselect8}>
								8
							</option>
						</select>
					</td>
				</tr>

				<tr>
					<td>
						<input type="submit" value="保 存" />
			</form>
			</td>
			</tr>
		</table>
		<p>
			&nbsp;
		</p>
	</div>
</div>
<div id="right-column">
	<strong class="h">INFO</strong>
	<div class="box">
		Detect and eliminate viruses and Trojan horses, even new and unknown
		ones. Detect and eliminate viruses and Trojan horses, even new and
	</div>
</div>
</div>
<div id="footer"></div>
</div>


</body>
</html>
